<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>学生信息列表</title>
    <!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
</head>
<body>

<div class="container-fluid">
    <div class="row">
        <div th:insert="topBar.html"></div>
    </div>
    <div class="row">
        <table class="table">
            <tr>
<!--                <th>编号</th>-->
                <th>学号</th>
                <th>姓名</th>
                <th>性别</th>
                <th>年龄</th>
                <th>生日</th>
                <th>电话</th>
                <th>地址</th>
            </tr>
            <tbody>
                <tr th:each="user : ${pageInfo.list}">
<!--                    <td th:text="${userStat.count}"></td>-->
                    <td th:text="${user.id}"></td>
                    <td th:text="${user.name}"></td>
                    <td th:text="${user.gender}"></td>
                    <td th:text="${user.age}"></td>
                    <td th:text="${#dates.format(user.birthday,'yyyy-MM-dd')}"></td>
                    <td th:text="${user.phone}"></td>
                    <td th:text="${user.addr}"></td>
                </tr>
            </tbody>

        </table>
    </div>

</div>


<script src="/webjars/jquery/1.11.1/jquery.js"></script>
<script src="/webjars/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</body>
